Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(session-viewer): Disable pointer event while resizing sessions #1212

Merged
merged 1 commit into from
Nov 28, 2023

Conversation

MoritzWeber0
Copy link
Member

This PR fixes a small bug that was introduced in #1150.

When the pointer events are not disabled on the iframe, some pointer events are "stolen" by the iframe. Therefore, they can not be used by our event handlers. This led to a "jumpy" behaviour while resizing.

@MoritzWeber0 MoritzWeber0 force-pushed the fix-session-server-events branch from 2127b13 to 0390b0b Compare November 28, 2023 07:59
Copy link

codecov bot commented Nov 28, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (5f644ad) 72.50% compared to head (7fdc3b7) 72.54%.
Report is 25 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1212      +/-   ##
==========================================
+ Coverage   72.50%   72.54%   +0.03%     
==========================================
  Files         162      162              
  Lines        5289     5296       +7     
  Branches      592      592              
==========================================
+ Hits         3835     3842       +7     
  Misses       1322     1322              
  Partials      132      132              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

This commit fixes a small bug that was introduced in #1150.

When the pointer events are not disabled on the iframe, some pointer events
are "stolen" by the iframe. Therefore, they can not be used by our event handlers.
This led to a "jumpy" behaviour while resizing.
@MoritzWeber0 MoritzWeber0 force-pushed the fix-session-server-events branch from 0390b0b to 7fdc3b7 Compare November 28, 2023 08:22
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@MoritzWeber0 MoritzWeber0 merged commit b98fd66 into main Nov 28, 2023
25 checks passed
@MoritzWeber0 MoritzWeber0 deleted the fix-session-server-events branch November 28, 2023 08:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants